package com.teamsea.bean.factory;

import com.teamsea.bean.Bean1;
import com.teamsea.bean.Bean2;

// 声明一个动态的Bean工厂
public class Bean2Factory {
    public Bean2 getBean() {
        return new Bean2(new Bean1());
    }

}
